package com.jsh.erp.feign.system;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;
@FeignClient(name="jsh-system", path="/jshERP-boot/remote/api/supplier", contextId = "SupplierRemote")
public interface SupplierRemote {

    @GetMapping("/updateAdvanceIn")
     int updateAdvanceIn(@RequestParam("/supplierId") Long supplierId, @RequestParam("/advanceIn") BigDecimal advanceIn)throws Exception;

    }
